#!/usr/bin/env python
# encoding: utf-8
# @Time    : 2020/8/24 18:40
# @Author  : Mr. Cui
# @File    : views.py
# @Software: PyCharm
# project蓝图的视图


from . import group
from .service import group_service
from ...libs import const
from ...libs.framework import *


@group.route('/get_group', methods=['get'])
def get_group():
    res = group_service.get_group()
    return result(const.SUCCESS, const.QUERY_SUCCESS, res)
